#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QStackedWidget>
#include "mainbuttonlist.h"
#include "stitlebar.h"
#include "sorderview.h"
#include "menupage.h"

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private:
    STitleBar* titleBar;
    MainButtonList* mainButtonList;
    QStackedWidget* stackedWidget;

    SOrderView* orderView;
    MenuPage* menuPage;
    QLabel* settings;

    void setupUI();
    void applyStyles();
    void setupConnections();
};
#endif // MAINWINDOW_H
